<template>
  <div class="grid">
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
    <div class="item">
      <img src="./../../images/mobile.png" alt="" />
      <span>Redmi Note 12 Pro+</span>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.grid {
  height: 340px;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: 200px;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 20px;
  border: 1px solid red;
}

.item {
  display: flex;
  align-items: center;
  img {
    width: 30px;
    height: 38px;
  }
}
</style>
